//
//  OwnViewController.h
//  iOS-CtrlV
//
//  Created by Wang Li on 12-12-19.
//  Copyright (c) 2012年 Wang Li. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MyHttpProcessor.h"
#import "PBLViewController.h"
#import "EGORefreshTableHeaderView.h"
#import "AlbumCell.h"
#import "SettingViewController.h"

typedef enum {
	MY_USER = 0,//自己的信息
    OTHER_USER = 1//别人的信息
}OwnType;
@interface OwnViewController : UIViewController<UITableViewDelegate,UITableViewDataSource,MyHttpProcessorDelegate,MBProgressHUDDelegate,EGORefreshTableHeaderDelegate,AlbumCellDelegate,SettingViewDelegate>
{
    NSString* m_attention;
    NSString* m_fans;
    UIView* m_head;
    UITableView* m_postTableView;
    UIButton* m_postbutton;
    UIButton* m_goodbutton;
    UIButton* m_albumbutton;
    UIButton* m_BackBttBarItem;
    UIButton* m_settngBttBarItem;
    NSUInteger type;
    NSMutableArray* m_albumdata;
    MBProgressHUD* m_MBHUD;
    NSInteger m_userid;
    NSInteger m_type;
    BOOL isfans;
    BOOL isalbum;
    
    PBLViewController* tTieZiVC;
    PBLViewController* tLikeVC;
    UIView* m_title;
    
    NSInteger m_postnum;
    NSInteger m_goodnum;
    NSInteger m_albumnum;
    
    NSUInteger m_page;
    BOOL m_reloading;
    EGORefreshTableHeaderView* m_refreshHeaderView;
    NSInteger isNextAndUp;
    BOOL isLook;
    BOOL m_isPLook;
    MyHttpProcessor* iMyHttpProcessor;
    
    NSMutableArray* m_tcellLsit;

}
@property(nonatomic,assign)BOOL isPLook;

- (id)initUesrID:(NSString*)_UesrID;
- (void)CreateHeadView;
- (void)ChangeButton:(UIButton*)ibutton;
- (void)ChangeSetting;
- (void)navSettingBtt;
- (void)CreatetitelView:(NSString*)str rect:(CGRect)_rect;
- (void)CreateCell;
@end
